package com.example.demo.DAO;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * Created by liupeng on 2017/12/18.
 */
@Mapper
public interface DemoMapper {
    @Insert("insert into tb_user(username,password) values(#{username},#{password})")
    int save(@Param("username")String username,@Param("password")String password);
}
